package com.common.help.test11;

import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;
import java.net.UnknownHostException;

public class BIOClient {

	public static void main(String[] args) throws UnknownHostException, IOException {
		
		Socket socket = new Socket("localhost",8080);
		
		OutputStream out= socket.getOutputStream();
		out.write("我是客服端".getBytes());
		socket.close();
	}
}
